package ca.eloas.judging.rest.repositories;

import ca.eloas.judging.model.CompetitionObject;
import ca.eloas.judging.model.JudgeObject;
import ca.eloas.judging.model.ScoreObject;
import ca.eloas.judging.model.TeamObject;

/**
 * @author JP
 */
public interface ScoreRepository extends Repository<ScoreObject> {
    Iterable<ScoreObject> getScoreFromJudge(CompetitionObject competition, JudgeObject judge);
    ScoreObject getScoreForJudge(TeamObject team, JudgeObject judge);
}
